android-tools: migration and cleanup
v3 cover android-tools: migration and cleanup
From: AshishKumar Mishra <[email protected]>
Following the feedback on the initial RFC, the logic has been split into two distinct commits to improve clarity and maintainability:
1. Removal of the legacy android-tools 5.x version from meta-oe/recipes-devtools.
2. Migration of android-tools v29.x from dynamic-layers/selinux to meta-oe.
3. Removes selinux dependency
This ensures the newer version is correctly positioned in meta-oe while cleaning up the deprecated 5.x recipe.
AshishKumar Mishra (3):
android-tools: remove android-tools 5.x from meta-oe/recipes-devtools
android-tools: move android-tools v29.x from dynamic-layers/selinux to
meta-oe
android-tools: removes selinux dependency from
android-tools_29.0.6.r14.bb
.../android-tools-conf/android-gadget-setup | 37 --
.../android-tools/android-tools-conf_1.0.bb | 20 -
.../android-tools/android-tools/adbd.mk | 87 -----
.../android-tools/android-tools-adbd.service | 13 -
.../10-adbd-configfs.conf | 4 -
.../android-gadget-cleanup | 24 --
.../android-gadget-setup | 38 --
.../android-gadget-start | 9 -
.../android-tools-conf-configfs_1.0.bb | 38 --
.../android-tools/android-tools-conf_1.0.bb | 4 +-
.../0001-Fixes-for-yocto-build.patch | 0
.../0001-liblp-fix-building-with-GCC-14.patch | 0
...difications-to-make-it-build-in-yoct.patch | 0
...usbdevfs_urb-to-match-new-kernel-UAP.patch | 0
...-adb-Fix-build-on-big-endian-systems.patch | 0
...005-adb-Allow-adbd-to-be-run-as-root.patch | 0
.../android-tools/android-tools/adb.mk | 72 ----
.../android-tools/android-tools/adbd.mk | 247 +++++-------
...scv-Add-risc-v-Android-config-header.patch | 361 ------------------
.../0001-adb-remove-selinux-extensions.patch | 44 ---
...define-strlcpy-for-glibc-based-syste.patch | 35 --
...-Use-local-sockets-where-appropriate.patch | 70 ----
.../core/0003-adb-define-shell-command.patch | 29 --
...-adb-Fix-build-on-big-endian-systems.patch | 47 ---
.../0005-adb-add-base64-implementation.patch | 350 -----------------
.../core/0006-adb-Musl-fixes.patch | 130 -------
...sb_linux.c-fix-build-with-glibc-2.28.patch | 26 --
...008-adb-Allow-adbd-to-be-ran-as-root.patch | 23 --
...Add-dt-parameter-to-specify-DT-image.patch | 110 ------
...ux-capability.h-on-linux-systems-too.patch | 23 --
.../0011-Remove-bionic-specific-calls.patch | 64 ----
...laration-of-stlcat-strlcopy-function.patch | 50 ---
.../core/0013-adb-Support-riscv64.patch | 191 ---------
...add-u3-ss-descriptor-support-for-adb.patch | 344 -----------------
...off-most-of-sparse_file_read_normal-.patch | 60 ---
...se-Add-hole-mode-to-sparse_file_read.patch | 188 ---------
...port-for-converting-holes-to-don-t-c.patch | 114 ------
.../android-tools/core/adb_libssl_11.diff | 48 ---
.../core/b64_pton_function_decl.patch | 14 -
.../debian/Add-riscv64-support.patch | 0
.../debian/Added-missing-headers.patch | 0
.../android-tools/debian/Nonnull.patch | 0
.../android-tools/debian/Vector-cast.patch | 0
.../debian/add-missing-headers.patch | 0
.../20150704-CVE-2015-3239_dwarf_i.h.patch | 0
.../legacy_built-in_sync_functions.patch | 0
...nd-fix-strchr-conformance-to-ISO-C23.patch | 0
...unreachable-macro-to-avoid-redefinit.patch | 0
.../external/libunwind/user_pt_regs.patch | 0
.../debian/fix-attribute-issue-with-gcc.patch | 0
.../debian/fix-build-on-non-x86.patch | 0
.../fix-gettid-exception-declaration.patch | 0
.../fix-standard-namespace-errors.patch | 0
.../debian/hard-code-build-number.patch | 0
.../debian/libusb-header-path.patch | 0
.../debian/move-log-file-to-proper-dir.patch | 0
.../debian/simg_dump-python3.patch | 0
.../android-tools/debian/stdatomic.patch | 0
.../debian/stub-out-fastdeploy.patch | 0
.../system/core/Add-riscv64-support.patch | 0
.../system/core/Added-missing-headers.patch | 0
.../debian/system/core/Nonnull.patch | 0
.../debian/system/core/Vector-cast.patch | 0
.../system/core/add-missing-headers.patch | 0
...ope-write-macro-to-prevent-conflict-.patch | 0
.../core/fix-attribute-issue-with-gcc.patch | 0
.../system/core/fix-build-on-non-x86.patch | 0
.../fix-gettid-exception-declaration.patch | 0
.../core/fix-standard-namespace-errors.patch | 0
.../system/core/hard-code-build-number.patch | 0
.../system/core/libusb-header-path.patch | 0
...x-missing-fixed-width-integer-types-.patch | 0
.../core/move-log-file-to-proper-dir.patch | 0
.../system/core/simg_dump-python3.patch | 0
.../debian/system/core/stdatomic.patch | 0
.../system/core/stub-out-fastdeploy.patch | 0
.../core/throw-exception-on-unknown-os.patch | 0
.../throw-exception-on-unknown-os.patch | 0
.../android-tools/android-tools/ext4_utils.mk | 103 -----
...ext4_utils-remove-selinux-extensions.patch | 39 --
...add-o-argument-to-preserve-ownership.patch | 78 ----
...unused-parameter-from-allocate_inode.patch | 69 ----
.../android-tools/android-tools/fastboot.mk | 89 -----
.../android-tools/android-tools/gitignore | 59 ---
.../0001-Remove-bionic-specific-calls.patch | 25 --
...t-define-gettid-if-glibc-2.30-is-use.patch | 51 ---
.../android-tools/android-tools/mkbootimg.mk | 29 --
.../android-tools/android-tools/remount | 0
.../android-tools/rules_yocto.mk | 0
.../android-tools/android-tools_29.0.6.r14.bb | 5 +-
.../android-tools/android-tools_5.1.1.r37.bb | 189 ---------
91 files changed, 90 insertions(+), 3560 deletions(-)
delete mode 100644 meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf/android-gadget-setup
delete mode 100644 meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf_1.0.bb
delete mode 100644 meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/adbd.mk
delete mode 100644 meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/android-tools-adbd.service
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/10-adbd-configfs.conf
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-cleanup
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-setup
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-start
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs_1.0.bb
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/0001-Fixes-for-yocto-build.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/0001-liblp-fix-building-with-GCC-14.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/0002-android-tools-modifications-to-make-it-build-in-yoct.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/0003-Update-usage-of-usbdevfs_urb-to-match-new-kernel-UAP.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/0004-adb-Fix-build-on-big-endian-systems.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/0005-adb-Allow-adbd-to-be-run-as-root.patch (100%)
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/adb.mk
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/build/0001-Riscv-Add-risc-v-Android-config-header.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0001-adb-remove-selinux-extensions.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0001-memory.h-Always-define-strlcpy-for-glibc-based-syste.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0002-adb-Use-local-sockets-where-appropriate.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0003-adb-define-shell-command.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0004-adb-Fix-build-on-big-endian-systems.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0005-adb-add-base64-implementation.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0006-adb-Musl-fixes.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0007-adb-usb_linux.c-fix-build-with-glibc-2.28.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0008-adb-Allow-adbd-to-be-ran-as-root.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0009-mkbootimg-Add-dt-parameter-to-specify-DT-image.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0010-Use-linux-capability.h-on-linux-systems-too.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0011-Remove-bionic-specific-calls.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0012-Fix-implicit-declaration-of-stlcat-strlcopy-function.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0013-adb-Support-riscv64.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0014-add-u3-ss-descriptor-support-for-adb.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0015-libsparse-Split-off-most-of-sparse_file_read_normal-.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0016-libsparse-Add-hole-mode-to-sparse_file_read.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0017-img2simg-Add-support-for-converting-holes-to-don-t-c.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/adb_libssl_11.diff
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/b64_pton_function_decl.patch
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/Add-riscv64-support.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/Added-missing-headers.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/Nonnull.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/Vector-cast.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/add-missing-headers.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/external/libunwind/20150704-CVE-2015-3239_dwarf_i.h.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/external/libunwind/legacy_built-in_sync_functions.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/external/libunwind/libunwind-fix-strchr-conformance-to-ISO-C23.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/external/libunwind/libunwind-guard-unreachable-macro-to-avoid-redefinit.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/external/libunwind/user_pt_regs.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/fix-attribute-issue-with-gcc.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/fix-build-on-non-x86.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/fix-gettid-exception-declaration.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/fix-standard-namespace-errors.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/hard-code-build-number.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/libusb-header-path.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/move-log-file-to-proper-dir.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/simg_dump-python3.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/stdatomic.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/stub-out-fastdeploy.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/Add-riscv64-support.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/Added-missing-headers.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/Nonnull.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/Vector-cast.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/add-missing-headers.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/android-tools-scope-write-macro-to-prevent-conflict-.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/fix-attribute-issue-with-gcc.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/fix-build-on-non-x86.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/fix-gettid-exception-declaration.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/fix-standard-namespace-errors.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/hard-code-build-number.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/libusb-header-path.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/libziparchive-fix-missing-fixed-width-integer-types-.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/move-log-file-to-proper-dir.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/simg_dump-python3.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/stdatomic.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/stub-out-fastdeploy.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/throw-exception-on-unknown-os.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/throw-exception-on-unknown-os.patch (100%)
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/ext4_utils.mk
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/extras/0001-ext4_utils-remove-selinux-extensions.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/extras/0002-ext4_utils-add-o-argument-to-preserve-ownership.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/extras/0003-ext4_utils-drop-unused-parameter-from-allocate_inode.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/fastboot.mk
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/gitignore
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/libselinux/0001-Remove-bionic-specific-calls.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/libselinux/0001-libselinux-Do-not-define-gettid-if-glibc-2.30-is-use.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/mkbootimg.mk
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/remount (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/rules_yocto.mk (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools_29.0.6.r14.bb (97%)
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bbSignature · 1 line
2.43.0
PATCH v3 1/3 android-tools: remove android-tools 5.x from meta-oe/recipes-devtools
From: AshishKumar Mishra <[email protected]>
We plan to upgrade android-tools from the legacy 5.1.1 version to 29.0.6.r14 To achive this we are removing the older version from meta-oe/recipes-devtools/
--- .../10-adbd-configfs.conf | 4 - .../android-gadget-cleanup | 24 -- .../android-gadget-setup | 38 -- .../android-gadget-start | 9 - .../android-tools-conf-configfs_1.0.bb | 38 -- .../android-tools-conf/android-gadget-setup | 37 -- .../android-tools/android-tools-conf_1.0.bb | 22 -- .../android-tools/android-tools/adb.mk | 72 ---- .../android-tools/android-tools/adbd.mk | 164 -------- .../android-tools/android-tools-adbd.service | 13 - ...scv-Add-risc-v-Android-config-header.patch | 361 ------------------ .../0001-adb-remove-selinux-extensions.patch | 44 --- ...define-strlcpy-for-glibc-based-syste.patch | 35 -- ...-Use-local-sockets-where-appropriate.patch | 70 ---- .../core/0003-adb-define-shell-command.patch | 29 -- ...-adb-Fix-build-on-big-endian-systems.patch | 47 --- .../0005-adb-add-base64-implementation.patch | 350 ----------------- .../core/0006-adb-Musl-fixes.patch | 130 ------- ...sb_linux.c-fix-build-with-glibc-2.28.patch | 26 -- ...008-adb-Allow-adbd-to-be-ran-as-root.patch | 23 -- ...Add-dt-parameter-to-specify-DT-image.patch | 110 ------ ...ux-capability.h-on-linux-systems-too.patch | 23 -- .../0011-Remove-bionic-specific-calls.patch | 64 ---- ...laration-of-stlcat-strlcopy-function.patch | 50 --- .../core/0013-adb-Support-riscv64.patch | 191 --------- ...add-u3-ss-descriptor-support-for-adb.patch | 344 ----------------- ...off-most-of-sparse_file_read_normal-.patch | 60 --- ...se-Add-hole-mode-to-sparse_file_read.patch | 188 --------- ...port-for-converting-holes-to-don-t-c.patch | 114 ------ .../android-tools/core/adb_libssl_11.diff | 48 --- .../core/b64_pton_function_decl.patch | 14 - .../android-tools/android-tools/ext4_utils.mk | 103 ----- ...ext4_utils-remove-selinux-extensions.patch | 39 -- ...add-o-argument-to-preserve-ownership.patch | 78 ---- ...unused-parameter-from-allocate_inode.patch | 69 ---- .../android-tools/android-tools/fastboot.mk | 89 ----- .../android-tools/android-tools/gitignore | 59 --- .../0001-Remove-bionic-specific-calls.patch | 25 -- ...t-define-gettid-if-glibc-2.30-is-use.patch | 51 --- .../android-tools/android-tools/mkbootimg.mk | 29 -- .../android-tools/android-tools_5.1.1.r37.bb | 189 --------- 41 files changed, 3473 deletions(-) delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/10-adbd-configfs.conf delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-cleanup delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-setup delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-start delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs_1.0.bb delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools-conf/android-gadget-setup delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/adb.mk delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/adbd.mk delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/android-tools-adbd.service delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/build/0001-Riscv-Add-risc-v-Android-config-header.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0001-adb-remove-selinux-extensions.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0001-memory.h-Always-define-strlcpy-for-glibc-based-syste.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0002-adb-Use-local-sockets-where-appropriate.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0003-adb-define-shell-command.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0004-adb-Fix-build-on-big-endian-systems.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0005-adb-add-base64-implementation.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0006-adb-Musl-fixes.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0007-adb-usb_linux.c-fix-build-with-glibc-2.28.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0008-adb-Allow-adbd-to-be-ran-as-root.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0009-mkbootimg-Add-dt-parameter-to-specify-DT-image.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0010-Use-linux-capability.h-on-linux-systems-too.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0011-Remove-bionic-specific-calls.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0012-Fix-implicit-declaration-of-stlcat-strlcopy-function.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0013-adb-Support-riscv64.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0014-add-u3-ss-descriptor-support-for-adb.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0015-libsparse-Split-off-most-of-sparse_file_read_normal-.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0016-libsparse-Add-hole-mode-to-sparse_file_read.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0017-img2simg-Add-support-for-converting-holes-to-don-t-c.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/adb_libssl_11.diff delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/b64_pton_function_decl.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/ext4_utils.mk delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/extras/0001-ext4_utils-remove-selinux-extensions.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/extras/0002-ext4_utils-add-o-argument-to-preserve-ownership.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/extras/0003-ext4_utils-drop-unused-parameter-from-allocate_inode.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/fastboot.mk delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/gitignore delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/libselinux/0001-Remove-bionic-specific-calls.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/libselinux/0001-libselinux-Do-not-define-gettid-if-glibc-2.30-is-use.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/mkbootimg.mk delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb
meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/10-adbd-configfs.conf deleted +0 -4
@@ -1,4 +0,0 @@ -[Service] -ExecStartPre=/usr/bin/android-gadget-setup -ExecStartPost=/usr/bin/android-gadget-start -ExecStopPost=/usr/bin/android-gadget-cleanup
meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-cleanup deleted +0 -24
@@ -1,24 +0,0 @@ -#!/bin/sh - -[ -d /sys/kernel/config/usb_gadget ] || exit 0 - -cd /sys/kernel/config/usb_gadget - -cd adb - -echo -n "" > UDC || true - -killall adbd || true - -umount /dev/usb-ffs/adb - -rm configs/c.1/ffs.usb0 - -rmdir configs/c.1/strings/0x409 -rmdir configs/c.1 - -rmdir functions/ffs.usb0 -rmdir strings/0x409 - -cd .. -rmdir adb
meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-setup deleted +0 -38
@@ -1,38 +0,0 @@ -#!/bin/sh - -set -e - -conf="Conf 1" -manufacturer=RPB -model="Android device" -product=0xd002 -serial=0123456789ABCDEF -vendor=0x18d1 - -if [ -r /etc/android-gadget-setup.machine ] ; then - . /etc/android-gadget-setup.machine -fi - -[ -d /sys/kernel/config/usb_gadget ] || modprobe libcomposite - -cd /sys/kernel/config/usb_gadget - -[ -d adb ] && /usr/bin/android-gadget-cleanup || true - -mkdir adb -cd adb - -mkdir configs/c.1 -mkdir functions/ffs.usb0 -mkdir strings/0x409 -mkdir configs/c.1/strings/0x409 -echo -n "$vendor" > idVendor -echo -n "$product" > idProduct -echo "$serial" > strings/0x409/serialnumber -echo "$manufacturer" > strings/0x409/manufacturer -echo "$model" > strings/0x409/product -echo "$conf" > configs/c.1/strings/0x409/configuration -ln -s functions/ffs.usb0 configs/c.1 - -mkdir -p /dev/usb-ffs/adb -mount -t functionfs usb0 /dev/usb-ffs/adb
meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-start deleted +0 -9
@@ -1,9 +0,0 @@ -#!/bin/sh - -set -e - -sleep 10 - -ls /sys/class/udc/ | head -n 1 | xargs echo -n > /sys/kernel/config/usb_gadget/adb/UDC - -echo "Setting UDC $(ls /sys/class/udc/ | head -n 1) for USB ADB Gadget usage"
meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs_1.0.bb deleted +0 -38
@@ -1,38 +0,0 @@ -DESCRIPTION = "Different utilities from Android - corressponding configuration files for using ConfigFS" -SECTION = "console/utils" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" - -S = "${UNPACKDIR}" - -SRC_URI = " \ - file://android-gadget-setup \ - file://android-gadget-start \ - file://android-gadget-cleanup \ - file://10-adbd-configfs.conf \ -" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -do_install() { - install -d ${D}${bindir} - install -m 0755 ${UNPACKDIR}/android-gadget-setup ${D}${bindir} - install -m 0755 ${UNPACKDIR}/android-gadget-start ${D}${bindir} - install -m 0755 ${UNPACKDIR}/android-gadget-cleanup ${D}${bindir} - - if [ -r ${UNPACKDIR}/android-gadget-setup.machine ] ; then - install -d ${D}${sysconfdir} - install -m 0644 ${UNPACKDIR}/android-gadget-setup.machine ${D}${sysconfdir} - fi - - install -d ${D}${systemd_unitdir}/system/android-tools-adbd.service.d - install -m 0644 ${UNPACKDIR}/10-adbd-configfs.conf ${D}${systemd_unitdir}/system/android-tools-adbd.service.d -} - -FILES:${PN} += " \ - ${systemd_unitdir}/system/ \ -" - -PROVIDES += "android-tools-conf" -RPROVIDES:${PN} = "android-tools-conf" -BBCLASSEXTEND = "native"
meta-oe/recipes-devtools/android-tools/android-tools-conf/android-gadget-setup deleted +0 -37
@@ -1,37 +0,0 @@ -#!/bin/sh - -[ ! -e /dev/pts ] && mkdir -p /dev/pts -[ ! -e /dev/pts/0 ] && mount devpts /dev/pts -t devpts - -# TODO enable the lines below once we have support for getprop -# retrieve the product info from Android -# manufacturer=$(getprop ro.product.manufacturer Android) -# model=$(getprop ro.product.model Android) -# serial=$(getprop ro.serialno 0123456789ABCDEF) - -#below are now needed in order to use FunctionFS for ADB, tested to work with 3.4+ kernels -if grep -q functionfs /proc/filesystems; then - mkdir -p /dev/usb-ffs/adb - mount -t functionfs adb /dev/usb-ffs/adb - #android-gadget-setup doesn't provide below 2 and without them it won't work, so we provide them here. - echo adb > /sys/class/android_usb/android0/f_ffs/aliases - echo ffs > /sys/class/android_usb/android0/functions -fi - -manufacturer="$(cat /system/build.prop | grep -o 'ro.product.manufacturer=.*' | cut -d'=' -f 2)" -model="$(cat /system/build.prop | grep -o 'ro.product.model=.*' | cut -d'=' -f 2)" -# get the device serial number from /proc/cmdline directly(since we have no getprop on -# GNU/Linux) -serial="$(cat /proc/cmdline | sed 's/.*androidboot.serialno=//' | sed 's/ .*//')" - -echo $serial > /sys/class/android_usb/android0/iSerial -echo $manufacturer > /sys/class/android_usb/android0/iManufacturer -echo $model > /sys/class/android_usb/android0/iProduct - -echo "0" > /sys/class/android_usb/android0/enable -echo "18d1" > /sys/class/android_usb/android0/idVendor -echo "D002" > /sys/class/android_usb/android0/idProduct -echo "adb" > /sys/class/android_usb/android0/functions -echo "1" > /sys/class/android_usb/android0/enable - -sleep 4
meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb deleted +0 -22
@@ -1,22 +0,0 @@ -DESCRIPTION = "Different utilities from Android - corressponding configuration files" -SECTION = "console/utils" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" - -SRC_URI = "file://android-gadget-setup" - -S = "${UNPACKDIR}" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -do_install() { - install -d ${D}${bindir} - install -m 0755 ${UNPACKDIR}/android-gadget-setup ${D}${bindir} -} - -python () { - pn = d.getVar('PN') - profprov = d.getVar("PREFERRED_PROVIDER_" + pn) - if profprov and pn != profprov: - raise bb.parse.SkipRecipe("PREFERRED_PROVIDER_%s set to %s, not %s" % (pn, profprov, pn)) -}
meta-oe/recipes-devtools/android-tools/android-tools/adb.mk deleted +0 -72
72 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/adbd.mk deleted +0 -164
164 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/android-tools-adbd.service deleted +0 -13
@@ -1,13 +0,0 @@ -[Unit] -Description=Android Debug Bridge -ConditionPathExists=/etc/usb-debugging-enabled -Before=android-system.service - -[Service] -Type=simple -Restart=on-failure -ExecStartPre=-/usr/bin/android-gadget-setup adb -ExecStart=/usr/bin/adbd - -[Install] -WantedBy=basic.target
meta-oe/recipes-devtools/android-tools/android-tools/build/0001-Riscv-Add-risc-v-Android-config-header.patch deleted +0 -361
361 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/0001-adb-remove-selinux-extensions.patch deleted +0 -44
44 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/0001-memory.h-Always-define-strlcpy-for-glibc-based-syste.patch deleted +0 -35
@@ -1,35 +0,0 @@ -From db3a3714be07c8ab51b9ae7b035e4afe9f39c645 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Wed, 7 Sep 2022 13:20:22 -0700 -Subject: [PATCH] memory.h: Always define strlcpy for glibc based systems - -android-config.h file includes on compiler cmdline sets HAVE_STRLCPY -unconditionally, since bionic supports it, its no big deal on android -and also no problem when using musl since implementation exists for musl -too, but glibc does not provide this. So either we include libbsd or use -the implementation provided by android-tools here. We are currently -using the in tree implementation for systems which do not provide it - -Upstream-Status: Pending - -Signed-off-by: Khem Raj <[email protected]> ---- - include/cutils/memory.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/include/cutils/memory.h b/include/cutils/memory.h -index e725cdd032..9e99353c58 100644 ---- a/include/cutils/memory.h -+++ b/include/cutils/memory.h -@@ -30,7 +30,7 @@ void android_memset16(uint16_t* dst, uint16_t value, size_t size); - /* size is given in bytes and must be multiple of 4 */ - void android_memset32(uint32_t* dst, uint32_t value, size_t size); - --#if !HAVE_STRLCPY -+#if !HAVE_STRLCPY || defined(__GLIBC__) - /* Declaration of strlcpy() for platforms that don't already have it. */ - size_t strlcpy(char *dst, const char *src, size_t size); - #endif --- -2.37.3 -
meta-oe/recipes-devtools/android-tools/android-tools/core/0002-adb-Use-local-sockets-where-appropriate.patch deleted +0 -70
70 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/0003-adb-define-shell-command.patch deleted +0 -29
@@ -1,29 +0,0 @@ -From 4421c2e19946dcd651fd8ac022b96627fc526149 Mon Sep 17 00:00:00 2001 -From: Fathi Boudra <[email protected]> -Date: Wed, 7 Sep 2016 12:58:47 +0300 -Subject: [PATCH] adb: define shell command - -we intend to run on Linux system so the shell is always /bin/sh, -for the host or the target. - -Upstream-Status: Inappropriate ---- - adb/services.c | 4 ---- - 1 file changed, 4 deletions(-) - -diff --git a/adb/services.c b/adb/services.c -index 21b08dc201..d44b0c5068 100644 ---- a/adb/services.c -+++ b/adb/services.c -@@ -299,11 +299,7 @@ static int create_subproc_raw(const char *cmd, const char *arg0, const char *arg - } - #endif /* !ABD_HOST */ - --#if ADB_HOST - #define SHELL_COMMAND "/bin/sh" --#else --#define SHELL_COMMAND "/system/bin/sh" --#endif - - #if !ADB_HOST - static void subproc_waiter_service(int fd, void *cookie)
meta-oe/recipes-devtools/android-tools/android-tools/core/0004-adb-Fix-build-on-big-endian-systems.patch deleted +0 -47
47 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/0005-adb-add-base64-implementation.patch deleted +0 -350
350 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/0006-adb-Musl-fixes.patch deleted +0 -130
130 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/0007-adb-usb_linux.c-fix-build-with-glibc-2.28.patch deleted +0 -26
@@ -1,26 +0,0 @@ -From de393bba41c8feff932c77d6c30233945f380d42 Mon Sep 17 00:00:00 2001 -From: Martin Jansa <[email protected]> -Date: Sat, 11 Aug 2018 13:23:37 +0000 -Subject: [PATCH] adb: usb_linux.c: fix build with glibc-2.28 - -* include sysmacros for major, minor - -Signed-off-by: Martin Jansa <[email protected]> ---- -Upstream-Status: Pending - - adb/usb_linux.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/adb/usb_linux.c b/adb/usb_linux.c -index f16bdd0361..c8a7732441 100644 ---- a/adb/usb_linux.c -+++ b/adb/usb_linux.c -@@ -22,6 +22,7 @@ - #include <sys/ioctl.h> - #include <sys/types.h> - #include <sys/time.h> -+#include <sys/sysmacros.h> - #include <dirent.h> - #include <fcntl.h> - #include <errno.h>
meta-oe/recipes-devtools/android-tools/android-tools/core/0008-adb-Allow-adbd-to-be-ran-as-root.patch deleted +0 -23
@@ -1,23 +0,0 @@ -From 3a788e9168c9b9eac66c4fa479413f4a95c61be4 Mon Sep 17 00:00:00 2001 -From: Florent Revest <[email protected]> -Date: Mon, 30 Oct 2017 21:05:46 +0100 -Subject: [PATCH] adb: Allow adbd to be ran as root - ---- -Upstream-Status: Pending - - adb/adb.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/adb/adb.c b/adb/adb.c -index 027edd9359..e0f7ecde45 100644 ---- a/adb/adb.c -+++ b/adb/adb.c -@@ -1271,6 +1271,7 @@ static int should_drop_privileges() { - int secure = 0; - char value[PROPERTY_VALUE_MAX]; - -+ return 0; - /* run adbd in secure mode if ro.secure is set and - ** we are not in the emulator - */
meta-oe/recipes-devtools/android-tools/android-tools/core/0009-mkbootimg-Add-dt-parameter-to-specify-DT-image.patch deleted +0 -110
110 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/0010-Use-linux-capability.h-on-linux-systems-too.patch deleted +0 -23
@@ -1,23 +0,0 @@ -From ef743c9c3c7452ae904a5c343ee2b759ab3a87cb Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Lo=C3=AFc=20Minier?= <[email protected]> -Date: Wed, 7 Sep 2016 12:58:47 +0300 -Subject: [PATCH] Use linux/capability.h on linux systems too - -Upstream-Status: Inappropriate ---- - include/private/android_filesystem_config.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h -index 2f528b95c8..3e0b00928e 100644 ---- a/include/private/android_filesystem_config.h -+++ b/include/private/android_filesystem_config.h -@@ -27,7 +27,7 @@ - #include <sys/types.h> - #include <stdint.h> - --#ifdef HAVE_ANDROID_OS -+#if defined(HAVE_ANDROID_OS) || defined(__linux__) - #include <linux/capability.h> - #else - #include "android_filesystem_capability.h"
meta-oe/recipes-devtools/android-tools/android-tools/core/0011-Remove-bionic-specific-calls.patch deleted +0 -64
64 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/0012-Fix-implicit-declaration-of-stlcat-strlcopy-function.patch deleted +0 -50
50 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/0013-adb-Support-riscv64.patch deleted +0 -191
191 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/0014-add-u3-ss-descriptor-support-for-adb.patch deleted +0 -344
344 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/0015-libsparse-Split-off-most-of-sparse_file_read_normal-.patch deleted +0 -60
60 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/0016-libsparse-Add-hole-mode-to-sparse_file_read.patch deleted +0 -188
188 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/0017-img2simg-Add-support-for-converting-holes-to-don-t-c.patch deleted +0 -114
114 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/adb_libssl_11.diff deleted +0 -48
48 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/b64_pton_function_decl.patch deleted +0 -14
@@ -1,14 +0,0 @@ -Add protoype declaration for b64_pton - -Upstream-Status: Pending -Signed-off-by: Khem Raj <[email protected]> ---- a/adb/adb_auth_client.c -+++ b/adb/adb_auth_client.c -@@ -29,6 +29,7 @@ - - #define TRACE_TAG TRACE_AUTH - -+extern int b64_pton(const char* src, uint8_t* target, size_t targsize); - - struct adb_public_key { - struct listnode node;
meta-oe/recipes-devtools/android-tools/android-tools/ext4_utils.mk deleted +0 -103
103 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/extras/0001-ext4_utils-remove-selinux-extensions.patch deleted +0 -39
@@ -1,39 +0,0 @@ -From 354604da9d152f1931e91991d3f34197fc8fc759 Mon Sep 17 00:00:00 2001 -From: Sergio Schvezov <[email protected]> -Date: Tue, 2 Oct 2018 16:36:54 +0000 -Subject: [PATCH] ext4_utils: remove selinux extensions - -* drop useless includes of Android SELINUX extensions -* avoids having to clone another module -* this should be sent upstream - -Upstream-Status: Inappropriate ---- - ext4_utils/make_ext4fs.c | 1 - - ext4_utils/make_ext4fs_main.c | 1 - - 2 files changed, 2 deletions(-) - -diff --git a/ext4_utils/make_ext4fs.c b/ext4_utils/make_ext4fs.c -index 2f89ae8a0..732afbed7 100644 ---- a/ext4_utils/make_ext4fs.c -+++ b/ext4_utils/make_ext4fs.c -@@ -62,7 +62,6 @@ - - #include <selinux/selinux.h> - #include <selinux/label.h> --#include <selinux/android.h> - - #define O_BINARY 0 - -diff --git a/ext4_utils/make_ext4fs_main.c b/ext4_utils/make_ext4fs_main.c -index a6c5f6160..f8e7b9da9 100644 ---- a/ext4_utils/make_ext4fs_main.c -+++ b/ext4_utils/make_ext4fs_main.c -@@ -32,7 +32,6 @@ - #ifndef USE_MINGW - #include <selinux/selinux.h> - #include <selinux/label.h> --#include <selinux/android.h> - #else - struct selabel_handle; - #endif
meta-oe/recipes-devtools/android-tools/android-tools/extras/0002-ext4_utils-add-o-argument-to-preserve-ownership.patch deleted +0 -78
78 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/extras/0003-ext4_utils-drop-unused-parameter-from-allocate_inode.patch deleted +0 -69
38 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/fastboot.mk deleted +0 -89
89 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/gitignore deleted +0 -59
59 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/libselinux/0001-Remove-bionic-specific-calls.patch deleted +0 -25
Lines of this file are not shown. View the raw message.
meta-oe/recipes-devtools/android-tools/android-tools/libselinux/0001-libselinux-Do-not-define-gettid-if-glibc-2.30-is-use.patch deleted +0 -51
51 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/mkbootimg.mk deleted +0 -29
Lines of this file are not shown. View the raw message.
meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb deleted +0 -189
189 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.43.0
Part of the diff is not shown here. View the raw message.
PATCH v3 2/3 android-tools: move android-tools v29.x from dynamic-layers/selinux to meta-oe
In reply to AshishKumar MishraFrom: AshishKumar Mishra <[email protected]>
Relocate the recipe from dynamic-layers/selinux/ to the main meta-oe/recipes-devtools/ directory.
The android-tools recipe (version 29.0.6.r14) was previously restricted to the selinux dynamic-layer.
Investigation shows that version 29.0.6.r14 does not have a hard dependency on libselinux for core tool functionality.
(adb, fastboot, and sparse image tools).
- Basic runable test was done for binaries in android-tools-native
- Checked for selinux absense by looking for selinx using $ ldd binary-name
Changes:
- Relocate recipe from dynamic-layers/selinux/ to recipes-devtools/
---
.../android-tools/android-tools-conf/android-gadget-setup | 0
.../android-tools/android-tools-conf_1.0.bb | 0
.../android-tools/android-tools/0001-Fixes-for-yocto-build.patch | 0
.../android-tools/0001-liblp-fix-building-with-GCC-14.patch | 0
...002-android-tools-modifications-to-make-it-build-in-yoct.patch | 0
...003-Update-usage-of-usbdevfs_urb-to-match-new-kernel-UAP.patch | 0
.../android-tools/0004-adb-Fix-build-on-big-endian-systems.patch | 0
.../android-tools/0005-adb-Allow-adbd-to-be-run-as-root.patch | 0
.../android-tools/android-tools/adbd.mk | 0
.../android-tools/android-tools/android-tools-adbd.service | 0
.../android-tools/android-tools/debian/Add-riscv64-support.patch | 0
.../android-tools/debian/Added-missing-headers.patch | 0
.../android-tools/android-tools/debian/Nonnull.patch | 0
.../android-tools/android-tools/debian/Vector-cast.patch | 0
.../android-tools/android-tools/debian/add-missing-headers.patch | 0
.../external/libunwind/20150704-CVE-2015-3239_dwarf_i.h.patch | 0
.../external/libunwind/legacy_built-in_sync_functions.patch | 0
.../libunwind/libunwind-fix-strchr-conformance-to-ISO-C23.patch | 0
.../libunwind-guard-unreachable-macro-to-avoid-redefinit.patch | 0
.../android-tools/debian/external/libunwind/user_pt_regs.patch | 0
.../android-tools/debian/fix-attribute-issue-with-gcc.patch | 0
.../android-tools/android-tools/debian/fix-build-on-non-x86.patch | 0
.../android-tools/debian/fix-gettid-exception-declaration.patch | 0
.../android-tools/debian/fix-standard-namespace-errors.patch | 0
.../android-tools/debian/hard-code-build-number.patch | 0
.../android-tools/android-tools/debian/libusb-header-path.patch | 0
.../android-tools/debian/move-log-file-to-proper-dir.patch | 0
.../android-tools/android-tools/debian/simg_dump-python3.patch | 0
.../android-tools/android-tools/debian/stdatomic.patch | 0
.../android-tools/android-tools/debian/stub-out-fastdeploy.patch | 0
.../android-tools/debian/system/core/Add-riscv64-support.patch | 0
.../android-tools/debian/system/core/Added-missing-headers.patch | 0
.../android-tools/android-tools/debian/system/core/Nonnull.patch | 0
.../android-tools/debian/system/core/Vector-cast.patch | 0
.../android-tools/debian/system/core/add-missing-headers.patch | 0
.../android-tools-scope-write-macro-to-prevent-conflict-.patch | 0
.../debian/system/core/fix-attribute-issue-with-gcc.patch | 0
.../android-tools/debian/system/core/fix-build-on-non-x86.patch | 0
.../debian/system/core/fix-gettid-exception-declaration.patch | 0
.../debian/system/core/fix-standard-namespace-errors.patch | 0
.../android-tools/debian/system/core/hard-code-build-number.patch | 0
.../android-tools/debian/system/core/libusb-header-path.patch | 0
.../libziparchive-fix-missing-fixed-width-integer-types-.patch | 0
.../debian/system/core/move-log-file-to-proper-dir.patch | 0
.../android-tools/debian/system/core/simg_dump-python3.patch | 0
.../android-tools/debian/system/core/stdatomic.patch | 0
.../android-tools/debian/system/core/stub-out-fastdeploy.patch | 0
.../debian/system/core/throw-exception-on-unknown-os.patch | 0
.../android-tools/debian/throw-exception-on-unknown-os.patch | 0
.../android-tools/android-tools/remount | 0
.../android-tools/android-tools/rules_yocto.mk | 0
.../android-tools/android-tools_29.0.6.r14.bb | 0
52 files changed, 0 insertions(+), 0 deletions(-)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools-conf/android-gadget-setup (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools-conf_1.0.bb (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/0001-Fixes-for-yocto-build.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/0001-liblp-fix-building-with-GCC-14.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/0002-android-tools-modifications-to-make-it-build-in-yoct.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/0003-Update-usage-of-usbdevfs_urb-to-match-new-kernel-UAP.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/0004-adb-Fix-build-on-big-endian-systems.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/0005-adb-Allow-adbd-to-be-run-as-root.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/adbd.mk (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/android-tools-adbd.service (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/Add-riscv64-support.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/Added-missing-headers.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/Nonnull.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/Vector-cast.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/add-missing-headers.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/external/libunwind/20150704-CVE-2015-3239_dwarf_i.h.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/external/libunwind/legacy_built-in_sync_functions.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/external/libunwind/libunwind-fix-strchr-conformance-to-ISO-C23.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/external/libunwind/libunwind-guard-unreachable-macro-to-avoid-redefinit.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/external/libunwind/user_pt_regs.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/fix-attribute-issue-with-gcc.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/fix-build-on-non-x86.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/fix-gettid-exception-declaration.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/fix-standard-namespace-errors.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/hard-code-build-number.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/libusb-header-path.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/move-log-file-to-proper-dir.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/simg_dump-python3.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/stdatomic.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/stub-out-fastdeploy.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/Add-riscv64-support.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/Added-missing-headers.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/Nonnull.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/Vector-cast.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/add-missing-headers.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/android-tools-scope-write-macro-to-prevent-conflict-.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/fix-attribute-issue-with-gcc.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/fix-build-on-non-x86.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/fix-gettid-exception-declaration.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/fix-standard-namespace-errors.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/hard-code-build-number.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/libusb-header-path.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/libziparchive-fix-missing-fixed-width-integer-types-.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/move-log-file-to-proper-dir.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/simg_dump-python3.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/stdatomic.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/stub-out-fastdeploy.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/throw-exception-on-unknown-os.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/throw-exception-on-unknown-os.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/remount (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/rules_yocto.mk (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools_29.0.6.r14.bb (100%)meta-oe/recipes-devtools/android-tools/android-tools-conf/android-gadget-setup renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf/android-gadget-setup +0 -0
meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf_1.0.bb +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/0001-Fixes-for-yocto-build.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0001-Fixes-for-yocto-build.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/0001-liblp-fix-building-with-GCC-14.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0001-liblp-fix-building-with-GCC-14.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/0002-android-tools-modifications-to-make-it-build-in-yoct.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0002-android-tools-modifications-to-make-it-build-in-yoct.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/0003-Update-usage-of-usbdevfs_urb-to-match-new-kernel-UAP.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0003-Update-usage-of-usbdevfs_urb-to-match-new-kernel-UAP.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/0004-adb-Fix-build-on-big-endian-systems.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0004-adb-Fix-build-on-big-endian-systems.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/0005-adb-Allow-adbd-to-be-run-as-root.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0005-adb-Allow-adbd-to-be-run-as-root.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/adbd.mk renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/adbd.mk +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/android-tools-adbd.service renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/android-tools-adbd.service +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/Add-riscv64-support.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/Add-riscv64-support.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/Added-missing-headers.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/Added-missing-headers.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/Nonnull.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/Nonnull.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/Vector-cast.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/Vector-cast.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/add-missing-headers.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/add-missing-headers.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/external/libunwind/20150704-CVE-2015-3239_dwarf_i.h.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/external/libunwind/20150704-CVE-2015-3239_dwarf_i.h.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/external/libunwind/legacy_built-in_sync_functions.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/external/libunwind/legacy_built-in_sync_functions.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/external/libunwind/libunwind-fix-strchr-conformance-to-ISO-C23.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/external/libunwind/libunwind-fix-strchr-conformance-to-ISO-C23.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/external/libunwind/libunwind-guard-unreachable-macro-to-avoid-redefinit.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/external/libunwind/libunwind-guard-unreachable-macro-to-avoid-redefinit.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/external/libunwind/user_pt_regs.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/external/libunwind/user_pt_regs.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/fix-attribute-issue-with-gcc.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/fix-attribute-issue-with-gcc.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/fix-build-on-non-x86.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/fix-build-on-non-x86.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/fix-gettid-exception-declaration.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/fix-gettid-exception-declaration.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/fix-standard-namespace-errors.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/fix-standard-namespace-errors.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/hard-code-build-number.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/hard-code-build-number.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/libusb-header-path.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/libusb-header-path.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/move-log-file-to-proper-dir.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/move-log-file-to-proper-dir.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/simg_dump-python3.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/simg_dump-python3.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/stdatomic.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/stdatomic.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/stub-out-fastdeploy.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/stub-out-fastdeploy.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/Add-riscv64-support.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/Add-riscv64-support.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/Added-missing-headers.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/Added-missing-headers.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/Nonnull.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/Nonnull.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/Vector-cast.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/Vector-cast.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/add-missing-headers.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/add-missing-headers.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/android-tools-scope-write-macro-to-prevent-conflict-.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/android-tools-scope-write-macro-to-prevent-conflict-.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/fix-attribute-issue-with-gcc.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/fix-attribute-issue-with-gcc.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/fix-build-on-non-x86.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/fix-build-on-non-x86.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/fix-gettid-exception-declaration.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/fix-gettid-exception-declaration.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/fix-standard-namespace-errors.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/fix-standard-namespace-errors.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/hard-code-build-number.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/hard-code-build-number.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/libusb-header-path.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/libusb-header-path.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/libziparchive-fix-missing-fixed-width-integer-types-.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/libziparchive-fix-missing-fixed-width-integer-types-.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/move-log-file-to-proper-dir.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/move-log-file-to-proper-dir.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/simg_dump-python3.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/simg_dump-python3.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/stdatomic.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/stdatomic.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/stub-out-fastdeploy.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/stub-out-fastdeploy.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/throw-exception-on-unknown-os.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/throw-exception-on-unknown-os.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/throw-exception-on-unknown-os.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/throw-exception-on-unknown-os.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/remount renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/remount +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/rules_yocto.mk renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/rules_yocto.mk +0 -0
meta-oe/recipes-devtools/android-tools/android-tools_29.0.6.r14.bb renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb +0 -0
Signature · 1 line
2.43.0
PATCH v3 3/3 android-tools: removes selinux dependency from android-tools_29.0.6.r14.bb
In reply to AshishKumar MishraFrom: AshishKumar Mishra <[email protected]>
--- .../android-tools/android-tools_29.0.6.r14.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta-oe/recipes-devtools/android-tools/android-tools_29.0.6.r14.bb +4 -1
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = " \ file://${COMMON_LICENSE_DIR}/BSD-2-Clause;md5=cb641bc04cda31daea161b1bc15da69f \ file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9 \ " -DEPENDS = "libbsd libpcre zlib libcap libusb squashfs-tools 7zip libselinux googletest" +DEPENDS = "libbsd libpcre zlib libcap libusb squashfs-tools 7zip googletest" SRCREV_core = "abfd66fafcbb691d7860df059f1df1c9b1ef29da"
@@ -191,3 +191,6 @@ FILES:${PN}-fstools = "\ FILES:${PN} += "${libdir}/android ${libdir}/android/*" BBCLASSEXTEND = "native" + +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}" +PACKAGECONFIG[selinux] = ",,libselinux"
Signature · 1 line
2.43.0
Hi All ,
Can team please take this in consideration to be merged in master branch
Thanks
Ashish
Hi Team,
Can team please take this to be merged in master branch
Thanks,
Ashish
Quoted 3 lines · AshishKumar Mishra via lists.openembedded.org
Hi Team,
Can team please take this to be merged in master branch
It's currently undergoing tests in the master-next branch:
https://git.openembedded.org/meta-openembedded/log/?h=master-next
there are some build issues I am seeing
https://errors.yoctoproject.org/Errors/Details/938668/
Quoted 23 lines · Gyorgy Sarvari via lists.openembedded.org
Quoted 3 lines · AshishKumar Mishra via lists.openembedded.org
Hi Team,
Can team please take this to be merged in master branchIt's currently undergoing tests in the master-next branch:
https://git.openembedded.org/meta-openembedded/log/?h=master-next-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#126953):
https://lists.openembedded.org/g/openembedded-devel/message/126953
Mute This Topic: https://lists.openembedded.org/mt/119162735/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
This seems to be adbd.mk reported error , will try locally reproducing it
Is there any specific channel to discuss such error or I can continue using the same thread ? Or any specific person / team to address such communication ?
________________________________
From: Khem Raj <[email protected]>
Sent: 13 May 2026 12:56
To: [email protected] <[email protected]>
Cc: AshishKumar Mishra <[email protected]>; [email protected] <[email protected]>
Subject: Re: [oe] [meta-oe][PATCH v3 0/3] android-tools: migration and cleanup
You don't often get email from [email protected]. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
Caution: "External email, be cautious especially with link(s), attachment(s) or QR code(s)".
there are some build issues I am seeing
https://errors.yoctoproject.org/Errors/Details/938668/
On Tue, May 12, 2026 at 11:57 PM Gyorgy Sarvari via lists.openembedded.org<http://lists.openembedded.org/> <[email protected]<mailto:[email protected]>> wrote:
Quoted 3 lines · AshishKumar Mishra via lists.openembedded.org
Hi Team,
Can team please take this to be merged in master branch
It's currently undergoing tests in the master-next branch:
https://git.openembedded.org/meta-openembedded/log/?h=master-next
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#126953): https://lists.openembedded.org/g/openembedded-devel/message/126953
Mute This Topic: https://lists.openembedded.org/mt/119162735/1997914
Group Owner: [email protected]<mailto:openembedded-devel%[email protected]>
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]<mailto:[email protected]>]
-=-=-=-=-=-=-=-=-=-=-=-
Hi Ashish,
You can continue using this thread to discuss these errors.
Best regards,
Khem Raj
Quoted 51 lines · AshishKumar Mishra
This seems to be adbd.mk reported error , will try locally reproducing it
Is there any specific channel to discuss such error or I can continue using the same thread ?
Or any specific person / team to address such communication ?------------------------------
*From:* Khem Raj <[email protected]>
*Sent:* 13 May 2026 12:56
*To:* [email protected] <[email protected]>
*Cc:* AshishKumar Mishra <[email protected]>; [email protected] < [email protected]>
*Subject:* Re: [oe] [meta-oe][PATCH v3 0/3] android-tools: migration and cleanupYou don't often get email from [email protected]. Learn why this is important <https://aka.ms/LearnAboutSenderIdentification>
*Caution: "External email, be cautious especially with link(s), attachment(s) or QR code(s)".*
there are some build issues I am seeinghttps://errors.yoctoproject.org/Errors/Details/938668/
On Tue, May 12, 2026 at 11:57 PM Gyorgy Sarvari via lists.openembedded.org <[email protected]> wrote:
Quoted 3 lines · AshishKumar Mishra via lists.openembedded.org
Hi Team,
Can team please take this to be merged in master branchIt's currently undergoing tests in the master-next branch:
https://git.openembedded.org/meta-openembedded/log/?h=master-next-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#126953):
https://lists.openembedded.org/g/openembedded-devel/message/126953
Mute This Topic: https://lists.openembedded.org/mt/119162735/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Hi Khem,
Looking at above error report it appears the build was triggered using the Yoe distro with clang as the default compiler targeting cortexa57 (AArch64).
I'm trying to reproduce this clean upstream Poky environment The key differences I need to replicate are:
- Yoe distro vs Poky
- clang as default compiler vs gcc
- cortexa57 AArch64 target
Could you point me to the Yoe distro.conf (or the relevant compiler/tuning config) so I can reproduce the exact build environment? I have meta-clang added to my layer stack and am testing against qemuarm64 as a starting point.
Thanks,
Ashish
Hi Khem / Team ,
Able to reproduce the build error with CLANG
Brought meta-clang and tweaked the toolchain / cc / cxx provider as clang Will work to fix this and share the observation
Sharing the error log to get an feedback just to avoid any gap's in customization
Below is the error :
bake-builds/poky-master/build/tmp/work/cortexa57-oe-linux/android-tools/29.0.6.r14/android-tools=/usr/src/debug/android-tools/29.0.6.r14 -ffile-prefix-map=/home/bti-001003/upstream/bitbake-builds/poky-master/build/tmp/work/cortexa57-oe-linux/android-tools/29.0.6.r14/recipe-sysroot= -ffile-prefix-map=/home/bti-001003/upstream/bitbake-builds/poky-master/build/tmp/work/cortexa57-oe-linux/android-tools/29.0.6.r14/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -std=gnu++20 -UADB_HOST -DADB_HOST=0 -DALLOW_ADBD_DISABLE_VERITY -DALLOW_ADBD_NO_AUTH -DPLATFORM_TOOLS_VERSION='"28.0.2"' -Isystem/core/diagnose_usb/include -Isystem/core/adb/daemon/include -Isystem/core/adb/adbconnection/include -Isystem/core/libasyncio/include -Isystem/core/libcutils/include -Isystem/core/libcrypto_utils/include -Isystem/core/liblog/include/ -Isystem/core/libutils/include -Iframeworks/native/libs/adbd_auth/include -Wno-c++11-narrowing -DPAGE_SIZE=4096 -fPIC -Isystem/coreinclude -Isystem/core/adb -Isystem/core/base/include -Idebian/out/system/core -Isystem/tools/mkbootimg/include/bootimg -Isystem/core/fs_mgr/include -Isystem/core/fs_mgr/include_fstab -DADB_VERSION='""' -D_GNU_SOURCE -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now -Wl,-rpath='$ORIGIN/../lib/android' -Wl,-rpath-link='$ORIGIN/../lib/android' -lpthread -Ldebian/out/system/core -Ldebian/out/external/boringssl -lbase -lcrypto_utils -l:libcrypto.a -lcutils -llog -lresolv
| aarch64-oe-linux-clang++: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated [-Wdeprecated] | aarch64-oe-linux-clang++: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated [-Wdeprecated] | aarch64-oe-linux-clang++: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated [-Wdeprecated] | aarch64-oe-linux-clang++: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated [-Wdeprecated] | aarch64-oe-linux-clang++: error: cannot specify -o when generating multiple output files | make: *** [/home/bti-001003/upstream/bitbake-builds/poky-master/build/tmp/work/cortexa57-oe-linux/android-tools/29.0.6.r14/sources/android-tools-29.0.6.r14/debian/system/core/adbd.mk:84: build] Error 1 | make: Leaving directory '/home/bti-001003/upstream/bitbake-builds/poky-master/build/tmp/work/cortexa57-oe-linux/android-tools/29.0.6.r14/sources/android-tools-29.0.6.r14' | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command.
ERROR: Task (/home/bti-001003/upstream/bitbake-builds/poky-master/layers/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_29.0.6.r14.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1685 tasks of which 275 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/bti-001003/upstream/bitbake-builds/poky-master/layers/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_29.0.6.r14.bb:do_compile
log: /home/bti-001003/upstream/bitbake-builds/poky-master/build/tmp/work/cortexa57-oe-linux/android-tools/29.0.6.r14/temp/log.do_compile.1623961
Summary: There were 12 WARNING messages.
Summary: There were 2 ERROR messages, returning a non-zero exit code.
~/upstream/bitbake-builds/poky-master/build :
~/upstream/bitbake-builds/poky-master/build :
Quoted 4 lines · AshishKumar Mishra via lists.openembedded.org
Hi Khem / Team ,
Able to reproduce the build error with CLANG
Brought meta-clang and tweaked the toolchain / cc / cxx provider as clang
Just a small note: do not use meta-clang - it has been part of oe-core since the Whinlatter release.
Quoted 70 lines
Will work to fix this and share the observation
Sharing the error log to get an feedback just to avoid any gap's in customization
Below is the error :
bake-builds/poky-master/build/tmp/work/cortexa57-oe-linux/android- tools/29.0.6.r14/android-tools=/usr/src/debug/android-tools/29.0.6.r14 -ffile-prefix-map=/home/bti-001003/upstream/bitbake-builds/poky-master/ build/tmp/work/cortexa57-oe-linux/android-tools/29.0.6.r14/recipe- sysroot= -ffile-prefix-map=/home/bti-001003/upstream/bitbake-builds/ poky-master/build/tmp/work/cortexa57-oe-linux/android-tools/29.0.6.r14/ recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -std=gnu++20 -UADB_HOST-DADB_HOST=0 -DALLOW_ADBD_DISABLE_VERITY -DALLOW_ADBD_NO_AUTH -DPLATFORM_TOOLS_VERSION='"28.0.2"' -Isystem/core/diagnose_usb/include -Isystem/core/adb/daemon/include -Isystem/core/adb/adbconnection/ include -Isystem/core/libasyncio/include -Isystem/core/libcutils/include -Isystem/core/libcrypto_utils/include -Isystem/core/liblog/include/ - Isystem/core/libutils/include -Iframeworks/native/libs/adbd_auth/include -Wno-c++11-narrowing -DPAGE_SIZE=4096 -fPIC -Isystem/coreinclude - Isystem/core/adb -Isystem/core/base/include -Idebian/out/system/core - Isystem/tools/mkbootimg/include/bootimg -Isystem/core/fs_mgr/include - Isystem/core/fs_mgr/include_fstab -DADB_VERSION='""' -D_GNU_SOURCE -Wl,- O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now -Wl,- rpath='$ORIGIN/../lib/android' -Wl,-rpath-link='$ORIGIN/../lib/android' -lpthread -Ldebian/out/system/core -Ldebian/out/external/boringssl - lbase -lcrypto_utils -l:libcrypto.a -lcutils -llog -lresolv
| aarch64-oe-linux-clang++: warning: treating 'c-header' input as 'c++- header' when in C++ mode, this behavior is deprecated [-Wdeprecated] | aarch64-oe-linux-clang++: warning: treating 'c-header' input as 'c++- header' when in C++ mode, this behavior is deprecated [-Wdeprecated] | aarch64-oe-linux-clang++: warning: treating 'c-header' input as 'c++- header' when in C++ mode, this behavior is deprecated [-Wdeprecated] | aarch64-oe-linux-clang++: warning: treating 'c-header' input as 'c++- header' when in C++ mode, this behavior is deprecated [-Wdeprecated] | aarch64-oe-linux-clang++: error: cannot specify -o when generating multiple output files
| make: *** [/home/bti-001003/upstream/bitbake-builds/poky-master/build/tmp/work/cortexa57-oe-linux/android-tools/29.0.6.r14/sources/android-tools-29.0.6.r14/debian/system/core/adbd.mk:84: build] Error 1
| make: Leaving directory '/home/bti-001003/upstream/bitbake-builds/poky-master/build/tmp/work/cortexa57-oe-linux/android-tools/29.0.6.r14/ sources/android-tools-29.0.6.r14'
| ERROR:oe_runmakefailed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/bti-001003/upstream/bitbake-builds/poky-master/layers/meta-openembedded/meta-oe/recipes-devtools/android-tools/android- tools_29.0.6.r14.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1685 tasks of which 275 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/bti-001003/upstream/bitbake-builds/poky-master/layers/meta-openembedded/meta-oe/recipes-devtools/android-tools/android- tools_29.0.6.r14.bb:do_compile
log:/home/bti-001003/upstream/bitbake-builds/poky-master/build/tmp/work/cortexa57-oe-linux/android-tools/29.0.6.r14/temp/log.do_compile.1623961
Summary: There were 12 WARNING messages.
Summary: There were 2 ERROR messages, returning a non-zero exit code. ~/upstream/bitbake-builds/poky-master/build :
~/upstream/bitbake-builds/poky-master/build :-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#127004): https://lists.openembedded.org/g/openembedded-devel/message/127004
Mute This Topic: https://lists.openembedded.org/mt/119162735/6084445
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 4 lines · Gyorgy Sarvari via lists.openembedded.org
Quoted 2 lines · AshishKumar Mishra via lists.openembedded.org
Hi Khem / Team ,
Quoted 8 lines
Quoted 2 lines
Able to reproduce the build error with CLANG
Brought meta-clang and tweaked the toolchain / cc / cxx provider asclang
Just a small note: do not use meta-clang - it has been part of oe-core since the Whinlatter release.
Clarify a bit more here meta-clang is not needed to enable clang as the compiler is provided by core layer now a days. So you should be able to reproduce it with whatever settings you did but removing meta-clang
Quoted 80 lines
Quoted 56 lines
Will work to fix this and share the observation
Sharing the error log to get an feedback just to avoid any gap's in customization
Below is the error :
bake-builds/poky-master/build/tmp/work/cortexa57-oe-linux/android- tools/29.0.6.r14/android-tools=/usr/src/debug/android-tools/29.0.6.r14
-ffile-prefix-map=/home/bti-001003/upstream/bitbake-builds/poky-master/
build/tmp/work/cortexa57-oe-linux/android-tools/29.0.6.r14/recipe- sysroot= -ffile-prefix-map=/home/bti-001003/upstream/bitbake-builds/ poky-master/build/tmp/work/cortexa57-oe-linux/android-tools/29.0.6.r14/ recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -std=gnu++20 -UADB_HOST-DADB_HOST=0 -DALLOW_ADBD_DISABLE_VERITY -DALLOW_ADBD_NO_AUTH -DPLATFORM_TOOLS_VERSION='"28.0.2"' -Isystem/core/diagnose_usb/include
-Isystem/core/adb/daemon/include -Isystem/core/adb/adbconnection/
include -Isystem/core/libasyncio/include -Isystem/core/libcutils/include -Isystem/core/libcrypto_utils/include -Isystem/core/liblog/include/ - Isystem/core/libutils/include -Iframeworks/native/libs/adbd_auth/include -Wno-c++11-narrowing -DPAGE_SIZE=4096 -fPIC -Isystem/coreinclude - Isystem/core/adb -Isystem/core/base/include -Idebian/out/system/core - Isystem/tools/mkbootimg/include/bootimg -Isystem/core/fs_mgr/include - Isystem/core/fs_mgr/include_fstab -DADB_VERSION='""' -D_GNU_SOURCE -Wl,- O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now -Wl,- rpath='$ORIGIN/../lib/android' -Wl,-rpath-link='$ORIGIN/../lib/android' -lpthread -Ldebian/out/system/core -Ldebian/out/external/boringssl - lbase -lcrypto_utils -l:libcrypto.a -lcutils -llog -lresolv | aarch64-oe-linux-clang++: warning: treating 'c-header' input as 'c++- header' when in C++ mode, this behavior is deprecated [-Wdeprecated] | aarch64-oe-linux-clang++: warning: treating 'c-header' input as 'c++- header' when in C++ mode, this behavior is deprecated [-Wdeprecated] | aarch64-oe-linux-clang++: warning: treating 'c-header' input as 'c++- header' when in C++ mode, this behavior is deprecated [-Wdeprecated] | aarch64-oe-linux-clang++: warning: treating 'c-header' input as 'c++- header' when in C++ mode, this behavior is deprecated [-Wdeprecated] | aarch64-oe-linux-clang++: error: cannot specify -o when generating multiple output files
| make: *** [/home/bti-001003/upstream/bitbake-builds/poky-master/build/tmp/work/cortexa57-oe-linux/android-tools/29.0.6.r14/sources/android-tools-29.0.6.r14/debian/system/core/adbd.mk:84: build] Error 1 | make: Leaving directory '/home/bti-001003/upstream/bitbake-builds/poky-master/build/tmp/work/cortexa57-oe-linux/android-tools/29.0.6.r14/ sources/android-tools-29.0.6.r14'
| ERROR:oe_runmakefailed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/bti-001003/upstream/bitbake-builds/poky-master/layers/meta-openembedded/meta-oe/recipes-devtools/android-tools/android- tools_29.0.6.r14.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1685 tasks of which 275 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/bti-001003/upstream/bitbake-builds/poky-master/layers/meta-
openembedded/meta-oe/recipes-devtools/android-tools/android- tools_29.0.6.r14.bb:do_compileQuoted 2 lines
log: /home/bti-001003/upstream/bitbake-builds/poky-master/build/tmp/work/cortexa57-oe-linux/android-tools/29.0.6.r14/temp/log.do_compile.1623961
Quoted 8 lines
Summary: There were 12 WARNING messages.
Summary: There were 2 ERROR messages, returning a non-zero exit code.
~/upstream/bitbake-builds/poky-master/build :
~/upstream/bitbake-builds/poky-master/build :-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#127005):
https://lists.openembedded.org/g/openembedded-devel/message/127005
Mute This Topic: https://lists.openembedded.org/mt/119162735/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Hi Khem / Gyorgy & Team,
This issue was specific to CLANG, and it reported the error as it was being passed header files in compilation command
I have created a fix attached below, would requires teams comment/ feedback on below before i sent RFC-V4.
1) Tested in two separate build one with gcc (default + qemuarm64) another with clang + qemuarm64 Compiled android-tools locally and the added in core-image-minimal & t ested the adb on qemu target Local.conf (for clang check)
MACHINE = "qemuarm64"
PREFERRED_PROVIDER_virtual/cc = "clang"
PREFERRED_PROVIDER_virtual/cxx = "clang"
TOOLCHAIN = "clang"
#PREFERRED_PROVIDER_llvm = "clang"
#PREFERRED_PROVIDER_llvm-native = "clang-native" #PREFERRED_PROVIDER_nativesdk-llvm = "nativesdk-clang" #PROVIDES:pn-clang = "llvm"
#PROVIDES:pn-clang-native = "llvm-native"
#PROVIDES:pn-nativesdk-clang = "nativesdk-llvm"
IMAGE_INSTALL:append = " android-tools"EXTRA_IMAGE_FEATURES += "allow-empty-password empty-root-password allow-root-login"
root@qemuarm64:~# /bin/adb --version Android Debug Bridge version 1.0.41 Version -debian Installed as /usr/bin/adb root@qemuarm64:~#
2) Can team please confirm if this is sufficient or there is any other test which i could do before sharing the RFC-v4 Idea is to avoid last minute build error like this coming at CI-CD?
3) Going ahead should i check with clang also for every patch which needs to be send upstream ? This could save teams/ maintainers effort
Attached is the patch for team reference which if team is fine (with approach and above testing) , will share in RFC-V4
Thanks,
Ashish
From 79c1f0878dc11d550be3a435eeaa601b40919ea6 Mon Sep 17 00:00:00 2001
From: Ashish Kumar Mishra <[email protected]>
Date: Sun, 17 May 2026 07:54:25 +0000
Subject: [PATCH] android-tools: fix deprecated header warning from clang
Remove .h header files from the SOURCES compilation list inside adbd.mk to resolve a Clang warning regarding treating 'c-header' input as 'c++-header'
Moved the header files into a separate HEADERS variable to act purely as a GNU Make dependency trigger, keeping them off the direct compiler execution string.
--- .../android-tools/android-tools/adbd.mk | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-)
meta-oe/recipes-devtools/android-tools/android-tools/adbd.mk +9 -6
@@ -5,16 +5,12 @@ SOURCES = \ adb/adbconnection/adbconnection_server.cpp \ adb/daemon/auth.cpp \ adb/daemon/file_sync_service.cpp \ - adb/daemon/file_sync_service.h \ adb/daemon/framebuffer_service.cpp \ - adb/daemon/framebuffer_service.h \ adb/daemon/jdwp_service.cpp \ adb/daemon/main.cpp \ adb/daemon/restart_service.cpp \ - adb/daemon/restart_service.h \ adb/daemon/services.cpp \ adb/daemon/shell_service.cpp \ - adb/daemon/shell_service.h \ adb/daemon/usb_ffs.cpp \ adb/daemon/usb_legacy.cpp \ adb/daemon/usb.cpp \
@@ -41,7 +37,14 @@ SOURCES = \ diagnose_usb/diagnose_usb.cpp \ libasyncio/AsyncIO.cpp \ +HEADERS = \ + adb/daemon/file_sync_service.h \ + adb/daemon/framebuffer_service.h \ + adb/daemon/restart_service.h \ + adb/daemon/shell_service.h + SOURCES := $(foreach source, $(SOURCES), system/core/$(source)) +HEADERS := $(foreach header, $(HEADERS), system/core/$(header)) SOURCES += \ frameworks/native/libs/adbd_auth/adbd_auth.cpp
@@ -79,9 +82,9 @@ ifneq ($(filter armel mipsel,$(DEB_HOST_ARCH)),) LDFLAGS += -latomic endif -build: $(SOURCES) +build: $(SOURCES) $(HEADERS) mkdir --parents debian/out/system/core - $(CXX) $^ -o debian/out/system/core/adbd $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) + $(CXX) $(SOURCES) -o debian/out/system/core/adbd $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) clean: $(RM) debian/out/system/core/adbd
Signature · 1 line
2.43.0
Hi Khem / Gyorgy & Team,
Can team please help on above fix and if team wants any additional test to be checked locally from my end. Accordingly, i can share the complete set of patches for merge process.
Thanks m
Ashish
Hi Khem / Gyorgy & Team,
Can you please let me know if any additional test i can do locally before sharing the patches for android-tools for the aboev CI error The details are two thread above at https://lists.openembedded.org/g/openembedded-devel/message/127048
I was planning to share the upstream patch tomorrow as have to start another work on priority
Thanks ,
Ashish
This patch looks ok. For future, its good to send patches inline instead of attachments, makes it easy to review them
Quoted 24 lines · AshishKumar Mishra via lists.openembedded.org
Hi Khem / Gyorgy & Team,
Can you please let me know if any additional test i can do locally before sharing the patches for android-tools for the aboev CI error The details are two thread above at
https://lists.openembedded.org/g/openembedded-devel/message/127048I was planning to share the upstream patch tomorrow as have to start another work on priority
Thanks ,
Ashish-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#127121):
https://lists.openembedded.org/g/openembedded-devel/message/127121
Mute This Topic: https://lists.openembedded.org/mt/119162735/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Sure Khem
Will share the complete set of patch again as a fresh RFC V4
Thanks ,
Ashish
________________________________
From: Khem Raj <[email protected]>
Sent: 21 May 2026 09:45
To: AshishKumar Mishra <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: [oe] [meta-oe][PATCH v3 0/3] android-tools: migration and cleanup
Caution: "External email, be cautious especially with link(s), attachment(s) or QR code(s)".
This patch looks ok. For future, its good to send patches inline instead of attachments, makes it easy to review them
On Wed, May 20, 2026 at 7:39 AM AshishKumar Mishra via lists.openembedded.org<http://lists.openembedded.org/> <[email protected]<mailto:[email protected]>> wrote:
Hi Khem / Gyorgy & Team,
Can you please let me know if any additional test i can do locally before sharing the patches for android-tools for the aboev CI error The details are two thread above at https://lists.openembedded.org/g/openembedded-devel/message/127048
I was planning to share the upstream patch tomorrow as have to start another work on priority
Thanks ,
Ashish
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#127121): https://lists.openembedded.org/g/openembedded-devel/message/127121
Mute This Topic: https://lists.openembedded.org/mt/119162735/1997914
Group Owner: [email protected]<mailto:openembedded-devel%[email protected]>
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]<mailto:[email protected]>]
-=-=-=-=-=-=-=-=-=-=-=-
Hi Khem / Gyorgy / Team ,
Good Morning
Shared the RFC-v4 with fix for the clang build error shared above. Cover-Letter:
https://lists.openembedded.org/g/openembedded-devel/topic/meta_oe_patch_v4_0_4/119463944
Patches :
https://lists.openembedded.org/g/openembedded-devel/topic/meta_oe_patch_v4_1_4/119463946
https://lists.openembedded.org/g/openembedded-devel/topic/meta_oe_patch_v4_2_4/119463947
https://lists.openembedded.org/g/openembedded-devel/topic/meta_oe_patch_v4_3_4/119463948
https://lists.openembedded.org/g/openembedded-devel/topic/meta_oe_patch_v4_4_4/119463949
Local build test was done using qemuarm64 + GCC & qemuarm64 + clang
Request team to please consider for merge
Thanks ,
Ashish